package bizlogic;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import org.apache.struts2.interceptor.ServletRequestAware;
import org.apache.struts2.interceptor.SessionAware;
import com.opensymphony.xwork2.*;

public class ApproveSupport extends ActionSupport implements ServletRequestAware, SessionAware {
	protected HttpServletRequest request;
	protected Map<String, Object> session;
	public String APPL_DATE_FORMAT = "dd/MM/yyyy";

	// @Override
	public void setServletRequest(HttpServletRequest httpServletRequest) {
		this.request = httpServletRequest;
	}

	public HttpServletRequest getRequest() {
		return request;
	}

	public HttpSession getSession(boolean b) {
		return request.getSession(b);
	}

	// @Override
	public void setSession(Map<String, Object> session) {
		this.session = session;
	}

}
